package com.unhz.generator.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: 曹显贵
 * @Description: 权限
 * @Date: Created in 下午 6:40 2018/1/23 0023
 * @Modified By:
 */
public class SysPermission implements Serializable{

    /**序号**/
    private Integer id;

    /**权限名称**/
    private String permissionName;

    /**权限类型 ("menu")系统菜单, ("menus")菜单列表 ,("mainMenu")功能菜单列表, ("permission")权限菜单**/
    private String permissionType;

    /**所属关系**/
    private String parentid;

    /**权限标志符,(权限判断唯一条件)**/
    private String parcode;

    /**路径**/
    private String url;

    /**创建时间**/
    private Date createTime;

    /**是否删除: 0.否  1.是**/
    private String isDelete;

    /**修改时间**/
    private Date updateTime;

    /**是否选中**/
    private Integer changeId;

    public Integer getChangeId() {
        return changeId;
    }
    public void setChangeId(Integer changeId) {
        this.changeId = changeId;
    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName == null ? null : permissionName.trim();
    }

    public String getPermissionType() {
        return permissionType;
    }

    public void setPermissionType(String permissionType) {
        this.permissionType = permissionType == null ? null : permissionType.trim();
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

    public String getParcode() {
        return parcode;
    }

    public void setParcode(String parcode) {
        this.parcode = parcode == null ? null : parcode.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete == null ? null : isDelete.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}